<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/10
 * Time: 15:57
 */

namespace app\api\controller\v1;


use app\api\controller\BaseController;
use think\Request;

class TestController extends BaseController
{
    public function getuser(){

        if (!$this->check_auth(123)){
            return json(['code'=>70001,'msg'=>'无访问权限','data'=>'']);
        }
    }
}